//
//  UIImageView + Extension.swift
//  1026SwiftSinaWeiBo
//
//  Created by Apple on 15/11/2.
//  Copyright © 2015年 itcast. All rights reserved.
//

import UIKit
import SDWebImage

// MARK: - 隔离SDWebImage下载
extension UIImageView {

    func zd_setImageWithURL(url: NSURL!) {
    
        sd_setImageWithURL(url)
    }
    
    func zd_setImageWithURL(url: NSURL!, placeholderImage placeholder: UIImage!) {
    
        sd_setImageWithURL(url, placeholderImage: placeholder)
    }
    
}